package com.feel.common.exception;

import com.feel.common.utils.R;
import lombok.Getter;

/**
 * 权限异常处理
 */
@Getter
public class AuthException extends RuntimeException {

    private R result;

//    public AuthException(R result, String message) {
//        super(message);
//        this.result = result;
//    }

    public AuthException(R result) {
        this.result = result;
    }

}
